package com.diankangwo.factory.dto;

import com.diankangwo.factory.entity.TdCommodity;

import java.util.List;

/**
 * Created by wuye on 2017/9/15.
 */
public class TdCommodityDTO {

    /**
     * 商品信息
     */
    private TdCommodity tdCommodity;

    /**
     * 商品对应属性列表
     */
    private List<TdCategoryDTO> tdCategoryDTOS;
    /**
     * 商品总库存
     */
    private int reserve;

    private int speId;

    public TdCommodity getTdCommodity() {
        return tdCommodity;
    }

    public void setTdCommodity(TdCommodity tdCommodity) {
        this.tdCommodity = tdCommodity;
    }

    public int getSpeId() {
        return speId;
    }

    public void setSpeId(int speId) {
        this.speId = speId;
    }

    public int getReserve() {
        return reserve;
    }

    public void setReserve(int reserve) {
        this.reserve = reserve;
    }

    public List<TdCategoryDTO> getTdCategoryDTOS() {
        return tdCategoryDTOS;
    }

    public void setTdCategoryDTOS(List<TdCategoryDTO> tdCategoryDTOS) {
        this.tdCategoryDTOS = tdCategoryDTOS;
    }
}
